//
//  NSString+RegularExpression.h
//
//  Created by SKY
//  Copyright © 翊sky. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (RegularExpression)

/*! 判断邮箱是否正确*/

- (BOOL)validateEmail;

/*! 判断验证码是否正确*/

- (BOOL)validateAuthen;

/*! 判断密码格式是否正确*/

- (BOOL)validatePassword;

/*! 判断手机号码是否正确*/

- (BOOL)validatePhoneNumber;

/*! 自己写正则传入进行判断*/

- (BOOL)validateWithRegExp: (NSString *)regExp;

@end
